Skip to content

Add re.VERBOSE flag documentation example#97678

Merged
JelleZijlstra merged 1 commit intopython:mainfrom
athos-ribeiro:re-verbose-docs
Oct 5, 2022
Merged

Add re.VERBOSE flag documentation example#97678
JelleZijlstra merged 1 commit intopython:mainfrom
athos-ribeiro:re-verbose-docs

Conversation

@athos-ribeiro
Copy link
Contributor

The current re.VERBOSE documentation example leaves space for ambiguous interpretation. One may read that spaces within the (?: token are spaces inside the non-capturing group (such as (?: )). This patch removes the ambiguity by including examples after the statement.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants